package com.zscat.mallplus.service.oms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zscat.mallplus.entity.dto.ConsultDto;
import com.zscat.mallplus.entity.vo.oms.EvaluationCostmOrder;
import com.zscat.mallplus.entity.vo.oms.EvaluationOrder;
import com.zscat.mallplus.entity.vo.pms.PmsProductConsultInfoVo;
import com.zscat.mallplus.oms.entity.OmsOrder;
import com.zscat.mallplus.utils.CommonResult;
import com.zscat.mallplus.vo.PageInfo;

import java.util.List;

public interface IOmsEvaluateService extends IService<OmsOrder> {

    CommonResult completedSuccesOrders(Long memberId, String orderSn);

    PageInfo<PmsProductConsultInfoVo> getMyCompletedEvaluation(Long memberId, Integer pageIndex, Integer pageSize);

    PageInfo<EvaluationCostmOrder> getUndoneEvaluation(Long memberId, Integer pageIndex, Integer pageSize);

    CommonResult setAnonymous(Long memberId, Long id);

    CommonResult setCannotComment(Long memberId, Long id);

    CommonResult setHideComment(Long memberId, Long id);

    CommonResult addGoodsConsult(Long memberId,String name, ConsultDto consultDto);

    String getConsultIntroduction();

}
